//
//  UILabel+Size.m
//  AFNetworking
//
//  Created by Huadong Zheng on 2023/4/12.
//

#import "UILabel+Size.h"

@implementation UILabel (Size)
-(void)sizetoFitWithMinHeight:(CGFloat) minHeight{
    [self sizeToFit];
    CGRect rect = self.frame;
    rect.size.height = MAX(rect.size.height, minHeight);
    self.frame = rect;
}
@end
